package com.xiaolei.lib.core;

import java.lang.reflect.Field;
import java.lang.reflect.Method;

import com.xiaolei.lib.Activity.IActivity;
import com.xiaolei.lib.Activity.bean.AnnotationWrape;

public interface ITranslator
{
	/**
	 * 解析變量
	 * @param field
	 * @param activity
	 * @param annotation
	 */
	public abstract void execute(Field field,IActivity activity,AnnotationWrape  annotation);
	/**
	 * 解析方法
	 * @param method
	 * @param activity
	 * @param annotation
	 */
	public abstract void execute(Method method,IActivity activity,AnnotationWrape  annotation);
	/**
	 * 解析類
	 * @param type
	 * @param activity
	 * @param annotation
	 */
	public abstract void execute(Class<?> type,IActivity activity,AnnotationWrape  annotation);
}
